
function Obrab(x)
{
var heights=0; 
var widths=0; 
if (self.screen) 
{ 
widths = screen.width-10;
heights = screen.height-60; 
} 
else if (self.java) 
{ 
var jToolKit = java.awt.Toolkit.getDefaultToolkit(); 
var scrsize = jToolKit.getScreenSize(); 
widths = scrsize.width-10; 
heights = scrsize.height-60; 
} 
if (widths > 0 && heights > 0) 
{
windobr=window.open(x,"Obr","resize=yes,scrollbars=yes, top=0, left=10,  height=" + heights);}
else
{windobr=window.open(x,"Obr");
}
windobr.focus();
}
